﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThreeDPrinting.ORM;
using ThreeDPrinting.Entity;
using System.Collections;

namespace ThreeDPrinting.Pages.Cart
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //if (Session["cart"] != null)
            //{
            //    ShoppingCart sc = (ShoppingCart)Session["cart"];
            //}

            //if (Session["Cart"] == null)
            //{
            //    Session["Cart"] = new ArrayList();
            //}

            //else
            //{
            //    ArrayList cart = (ArrayList)Session["cart"];
            //}
        }
        //public List<productsCatalog> GetShoppingCartItems()
        //{
        //     ShoppingCart sc = (ShoppingCart)Session["cart"];
        //     return sc.GetShoppingCart();        
        //}

        protected void btnShopping_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Default.aspx");
        }
    }
}